package com.xiaotao.service;

import com.xiaotao.dto.TeamApplyDTO;
import com.xiaotao.dto.TeamDetailDTO;
import com.xiaotao.entity.TeamMember;
import java.util.List;

public interface TeamService {
    boolean applyToTeam(Integer userId, TeamApplyDTO applyDTO);
    boolean approveApplication(Integer ownerId, Long applicationId);
    boolean rejectApplication(Integer ownerId, Long applicationId);
    TeamDetailDTO getTeamDetail(Long postId, Integer currentUserId);
    List<TeamMember> getTeamMembers(Long postId);
    boolean checkLikeStatus(Integer userId, Long postId);
}